package com.school.campus.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.school.common.annotation.Excel;
import com.school.common.core.domain.BaseEntity;

/**
 * 社团管理对象 club
 * 
 * @author wwj
 * @date 2025-11-05
 */
public class Club extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 社团名称 */
    @Excel(name = "社团名称")
    private String name;

    /** 所属类型id */
    @Excel(name = "所属类型id")
    private Long typeId;

    /** 负责人，关联sys_user表的user_id */
    @Excel(name = "负责人，关联sys_user表的user_id")
    private Long directorId;

    /** 社团人数 */
    @Excel(name = "社团人数")
    private Long memberCount;

    /** 所属二级学院id，关联secondary_college表的id */
    @Excel(name = "所属二级学院id，关联secondary_college表的id")
    private Long secondaryCollegeId;

    /** 关注量 */
    @Excel(name = "关注量")
    private Long followCount;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }

    public void setDirectorId(Long directorId) 
    {
        this.directorId = directorId;
    }

    public Long getDirectorId() 
    {
        return directorId;
    }

    public void setMemberCount(Long memberCount) 
    {
        this.memberCount = memberCount;
    }

    public Long getMemberCount() 
    {
        return memberCount;
    }

    public void setSecondaryCollegeId(Long secondaryCollegeId) 
    {
        this.secondaryCollegeId = secondaryCollegeId;
    }

    public Long getSecondaryCollegeId() 
    {
        return secondaryCollegeId;
    }

    public void setFollowCount(Long followCount) 
    {
        this.followCount = followCount;
    }

    public Long getFollowCount() 
    {
        return followCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("typeId", getTypeId())
            .append("directorId", getDirectorId())
            .append("memberCount", getMemberCount())
            .append("secondaryCollegeId", getSecondaryCollegeId())
            .append("followCount", getFollowCount())
            .append("createTime", getCreateTime())
            .toString();
    }
}
